DatePickerColors

interface DatePickerColors

Represents the colors used by a timepicker and its parts in different states

See DatePickerDefaults.colors for the default implementation

Functions

Link copied to clipboard
@Composable
abstract fun backgroundColor(active: Boolean): State<Color>

Gets the background color dependant on if the item is active or not

Link copied to clipboard
@Composable
abstract fun textColor(active: Boolean): State<Color>

Gets the text color dependant on if the item is active or not

Properties

Link copied to clipboard
abstract val headerBackgroundColor: Color
Link copied to clipboard
abstract val headerTextColor: Color